package com.btex.app.entity;

import java.util.List;

/**
 * @author zy zhangyi <zhangyi, 1104745049@QQ.com
 * @version v1.0
 * @project study1
 * @Description
 * @encoding UTF-8
 * @date 2018/12/21
 * @time 下午3:32
 * @修改记录 <pre>
 * 版本       修改人         修改时间         修改内容描述
 * --------------------------------------------------
 * <p>
 * --------------------------------------------------
 * </pre>
 */

public class ChengJiaoInfo {


    /**
     * code : 1
     * data : [{"trade_id":"6481775857127890947","contract_id":"1","symbol":"BTC_USD","price":"4004.3600000000000","trade_num":"537","time":1545375789,"order_id":"1576920","order_price":"0.0000000000000","type":"buy","trade_fee":"-0.00013410","leverage":"50","is_cross":"-1"}]
     * info :
     */

    private int code;
    private String info;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * trade_id : 6481775857127890947
         * contract_id : 1
         * symbol : BTC_USD
         * price : 4004.3600000000000
         * trade_num : 537
         * time : 1545375789
         * order_id : 1576920
         * order_price : 0.0000000000000
         * type : buy
         * trade_fee : -0.00013410
         * leverage : 50
         * is_cross : -1
         */

        private String trade_id;
        private String contract_id;
        private String symbol;
        private String price;
        private String trade_num;
        private int time;
        private String order_id;
        private String order_price;
        private String type;
        private String trade_fee;
        private String leverage;
        private String is_cross;
        private String order_type;

        public String getOrder_type() {
            return order_type;
        }

        public void setOrder_type(String order_type) {
            this.order_type = order_type;
        }




        public String getTrade_id() {
            return trade_id;
        }

        public void setTrade_id(String trade_id) {
            this.trade_id = trade_id;
        }

        public String getContract_id() {
            return contract_id;
        }

        public void setContract_id(String contract_id) {
            this.contract_id = contract_id;
        }

        public String getSymbol() {
            return symbol;
        }

        public void setSymbol(String symbol) {
            this.symbol = symbol;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getTrade_num() {
            return trade_num;
        }

        public void setTrade_num(String trade_num) {
            this.trade_num = trade_num;
        }

        public int getTime() {
            return time;
        }

        public void setTime(int time) {
            this.time = time;
        }

        public String getOrder_id() {
            return order_id;
        }

        public void setOrder_id(String order_id) {
            this.order_id = order_id;
        }

        public String getOrder_price() {
            return order_price;
        }

        public void setOrder_price(String order_price) {
            this.order_price = order_price;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getTrade_fee() {
            return trade_fee;
        }

        public void setTrade_fee(String trade_fee) {
            this.trade_fee = trade_fee;
        }

        public String getLeverage() {
            return leverage;
        }

        public void setLeverage(String leverage) {
            this.leverage = leverage;
        }

        public String getIs_cross() {
            return is_cross;
        }

        public void setIs_cross(String is_cross) {
            this.is_cross = is_cross;
        }
    }
}
